<?php

define('IN_SCSM', true);

if (array_key_exists("page", $_GET)) {
	$page = $_GET['page'];
} else {
	$page = 'home';
}

switch ($page) {
	default:

	case 'home':
		$site_title = "Strona główna";
		$content = 'content/home.php';
	break;
	
	case 'about':
		$site_title = "O firmie";
		$content = 'content/about.php';
	break;
	
	case 'supply':
		$site_title = "Oferta";
		$content = 'content/supply.php';
	break;
	
	case 'partners':
		$site_title = "Partnerzy";
		$content = 'content/partners.php';
	break;
	
	case 'contact':
		$site_title = "Kontakt";
		$content = 'content/contact.php';
	break;
	
	case 'outsourcing':
		$site_title = "Outsourcing IT";
		$content = 'content/outsourcing.php';
	break;
}

include_once('inc/header.php');
include $content;
include_once('inc/footer.php');
?>